package Entity;

import org.apache.commons.lang3.builder.CompareToBuilder;

import Acquaintance.IARankElement;



public class ERankElement  implements Comparable<ERankElement>, IARankElement{

	/**
	 * @param args
	 */
	
	private int Mark;
	private int HID;
	/* (non-Javadoc)
	 * @see Entity.IARankElement#getMark()
	 */
	@Override
	public int getMark()
	{
		return Mark;
	}
	/* (non-Javadoc)
	 * @see Entity.IARankElement#getObjectID()
	 */
	@Override
	public int getHID()
	{
		return HID;
	}
	
	/* (non-Javadoc)
	 * @see Entity.IARankElement#setMark(int)
	 */
	@Override
	public void setMark(int mark)
	{
		this.Mark=mark;
	}
	/* (non-Javadoc)
	 * @see Entity.IARankElement#setObjectID(int)
	 */
	@Override
	public void setHID(int HID)
	{
		this.HID=HID;
	}
	@Override
	public int compareTo(ERankElement arg0) {
		
		 return CompareToBuilder.reflectionCompare(this, arg0);
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
